package com.zh.service;

import com.zh.common.QueryPageParam;
import com.zh.common.Result;
import com.zh.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zh
 * @since 2025-03-29
 */
public interface UserService extends IService<User> {

    Result register(User user);
    Result login(User user, HttpSession session);
    Result logout(HttpSession session);
    Result listPage(QueryPageParam queryPageParam);

}
